package com.lagou.util;

public class TraceIpUtil {

    private static final ThreadLocal<String> TRACE_IP_THREAD_LOCAL = new ThreadLocal<>();

    public static String getTraceIp() {
        return TRACE_IP_THREAD_LOCAL.get();
    }

    public static void setTraceIp(String traceIp) {
        TRACE_IP_THREAD_LOCAL.set(traceIp);
    }

}
